/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package MobileArchitecture.util;

import MobileArchitecture.Attribute;
import MobileArchitecture.GeolocatedAttribute;
import MobileArchitecture.Mobile;
import MobileArchitecture.MobileArchitecturePackage;
import MobileArchitecture.MobileEntity;
import MobileArchitecture.MobilePresentationModel;
import MobileArchitecture.MobileView;
import MobileArchitecture.MobileViewModel;
import MobileArchitecture.NamedElement;
import MobileArchitecture.Server;
import MobileArchitecture.ServerBO;
import MobileArchitecture.ServerDAO;
import MobileArchitecture.ServerEntity;
import MobileArchitecture.ServerService;

import org.eclipse.emf.common.notify.Adapter;
import org.eclipse.emf.common.notify.Notifier;

import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;

import org.eclipse.emf.ecore.EObject;

/**
 * <!-- begin-user-doc -->
 * The <b>Adapter Factory</b> for the model.
 * It provides an adapter <code>createXXX</code> method for each class of the model.
 * <!-- end-user-doc -->
 * @see MobileArchitecture.MobileArchitecturePackage
 * @generated
 */
public class MobileArchitectureAdapterFactory extends AdapterFactoryImpl {
	/**
	 * The cached model package.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected static MobileArchitecturePackage modelPackage;

	/**
	 * Creates an instance of the adapter factory.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public MobileArchitectureAdapterFactory() {
		if (modelPackage == null) {
			modelPackage = MobileArchitecturePackage.eINSTANCE;
		}
	}

	/**
	 * Returns whether this factory is applicable for the type of the object.
	 * <!-- begin-user-doc -->
	 * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
	 * <!-- end-user-doc -->
	 * @return whether this factory is applicable for the type of the object.
	 * @generated
	 */
	@Override
	public boolean isFactoryForType(Object object) {
		if (object == modelPackage) {
			return true;
		}
		if (object instanceof EObject) {
			return ((EObject)object).eClass().getEPackage() == modelPackage;
		}
		return false;
	}

	/**
	 * The switch that delegates to the <code>createXXX</code> methods.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected MobileArchitectureSwitch<Adapter> modelSwitch =
		new MobileArchitectureSwitch<Adapter>() {
			@Override
			public Adapter caseNamedElement(NamedElement object) {
				return createNamedElementAdapter();
			}
			@Override
			public Adapter caseSystem(MobileArchitecture.System object) {
				return createSystemAdapter();
			}
			@Override
			public Adapter caseServer(Server object) {
				return createServerAdapter();
			}
			@Override
			public Adapter caseServerEntity(ServerEntity object) {
				return createServerEntityAdapter();
			}
			@Override
			public Adapter caseServerService(ServerService object) {
				return createServerServiceAdapter();
			}
			@Override
			public Adapter caseServerDAO(ServerDAO object) {
				return createServerDAOAdapter();
			}
			@Override
			public Adapter caseServerBO(ServerBO object) {
				return createServerBOAdapter();
			}
			@Override
			public Adapter caseMobile(Mobile object) {
				return createMobileAdapter();
			}
			@Override
			public Adapter caseMobileEntity(MobileEntity object) {
				return createMobileEntityAdapter();
			}
			@Override
			public Adapter caseMobileView(MobileView object) {
				return createMobileViewAdapter();
			}
			@Override
			public Adapter caseMobileViewModel(MobileViewModel object) {
				return createMobileViewModelAdapter();
			}
			@Override
			public Adapter caseMobilePresentationModel(MobilePresentationModel object) {
				return createMobilePresentationModelAdapter();
			}
			@Override
			public Adapter caseAttribute(Attribute object) {
				return createAttributeAdapter();
			}
			@Override
			public Adapter caseGeolocatedAttribute(GeolocatedAttribute object) {
				return createGeolocatedAttributeAdapter();
			}
			@Override
			public Adapter defaultCase(EObject object) {
				return createEObjectAdapter();
			}
		};

	/**
	 * Creates an adapter for the <code>target</code>.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param target the object to adapt.
	 * @return the adapter for the <code>target</code>.
	 * @generated
	 */
	@Override
	public Adapter createAdapter(Notifier target) {
		return modelSwitch.doSwitch((EObject)target);
	}


	/**
	 * Creates a new adapter for an object of class '{@link MobileArchitecture.NamedElement <em>Named Element</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see MobileArchitecture.NamedElement
	 * @generated
	 */
	public Adapter createNamedElementAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link MobileArchitecture.System <em>System</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see MobileArchitecture.System
	 * @generated
	 */
	public Adapter createSystemAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link MobileArchitecture.Server <em>Server</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see MobileArchitecture.Server
	 * @generated
	 */
	public Adapter createServerAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link MobileArchitecture.ServerEntity <em>Server Entity</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see MobileArchitecture.ServerEntity
	 * @generated
	 */
	public Adapter createServerEntityAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link MobileArchitecture.ServerService <em>Server Service</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see MobileArchitecture.ServerService
	 * @generated
	 */
	public Adapter createServerServiceAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link MobileArchitecture.ServerDAO <em>Server DAO</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see MobileArchitecture.ServerDAO
	 * @generated
	 */
	public Adapter createServerDAOAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link MobileArchitecture.ServerBO <em>Server BO</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see MobileArchitecture.ServerBO
	 * @generated
	 */
	public Adapter createServerBOAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link MobileArchitecture.Mobile <em>Mobile</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see MobileArchitecture.Mobile
	 * @generated
	 */
	public Adapter createMobileAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link MobileArchitecture.MobileEntity <em>Mobile Entity</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see MobileArchitecture.MobileEntity
	 * @generated
	 */
	public Adapter createMobileEntityAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link MobileArchitecture.MobileView <em>Mobile View</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see MobileArchitecture.MobileView
	 * @generated
	 */
	public Adapter createMobileViewAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link MobileArchitecture.MobileViewModel <em>Mobile View Model</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see MobileArchitecture.MobileViewModel
	 * @generated
	 */
	public Adapter createMobileViewModelAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link MobileArchitecture.MobilePresentationModel <em>Mobile Presentation Model</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see MobileArchitecture.MobilePresentationModel
	 * @generated
	 */
	public Adapter createMobilePresentationModelAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link MobileArchitecture.Attribute <em>Attribute</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see MobileArchitecture.Attribute
	 * @generated
	 */
	public Adapter createAttributeAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link MobileArchitecture.GeolocatedAttribute <em>Geolocated Attribute</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see MobileArchitecture.GeolocatedAttribute
	 * @generated
	 */
	public Adapter createGeolocatedAttributeAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for the default case.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @generated
	 */
	public Adapter createEObjectAdapter() {
		return null;
	}

} //MobileArchitectureAdapterFactory
